 
import i18n from '@/locales/index' 
const { t } = i18n.global  
export const listHeaders =  [ t('common.sequence'), t('basicData.section'), t('basicData.processNo'), t('basicData.processNames'), t('basicData.standardTimeSec'), t('other.forecastTimeSeconds'), t('basicData.priceYuan'), t('other.allowMerge'), t('basicData.workName'), t('other.maximumNumberOfStations'), t('other.minSkillLv'),t('common.startState')] 
export const routeHeader = [t('hangManage.stationSequence'), t('other.activePriSecStation'), t('hangManage.mergeScale') , t('hangManage.processInfoStationInfo') ,t('basicData.staffInfo') , t('common.operate')]
export const processRule = {
  professionId: [{ required: true, message: t('other.pleaseSelectAJobName') }],
  // skillGradeId: [{ required: true, message: '请选择技能等级' }],  
  standardSeconds: [{ required: true, message: t('other.pleaseInputStandardWorkTime') },{ pattern: /^\d{1,5}(\.\d{1,8})?$/, message: t('components.ruleFiveEightNumber')  }],
  labourCost: [{ required: true, message: t('other.pleaseInputWages') },{ pattern: /^\d{1,5}(\.\d{1,8})?$/, message: t('components.ruleFiveEightNumber')}],
}
export const maxStationAry = [
  {id: -1, text: t('other.unlimited')},
  {id: 1, text: '1'},
  {id: 2, text: '2'},
  {id: 3, text: '3'},
  {id: 4, text: '4'},
  {id: 5, text: '5'},
  {id: 6, text: '6'},
  {id: 7, text: '7'},
  {id: 8, text: '8'},
  {id: 9, text: '9'},
  {id: 10, text: '10'}
]
